/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package assisisw.smartcal.notificationsubsystem;

import assisisw.smartcal.entitysubsystem.Event;
import assisisw.smartcal.entitysubsystem.Notification.NotificationType;
import assisisw.smartcal.entitysubsystem.User;
import java.io.Serializable;
import javax.ejb.Local;

/**
 *
 * @author Francesco
 */
@Local
public interface IEntityControllerObserver extends Serializable 
{

    // Instance Methods
    
    /**
     * @param type
     * @param generatingEvent 
     * @param recipient 
     * @param message
     */
    public void addNotification ( NotificationType type , Event generatingEvent , User recipient , String message ) ;
    
}
